/*
 * Copyright (c) 2015—2030 GantSoftware.Co.Ltd. All rights reserved.
 * <p>
 * Unless required by applicable law or agreed to in writing, software
 * is not allowed to be distributed or copied without the license from
 * GantSoftware.Co.Ltd. Please contact the company for more information.
 */
package com.gantang.gax.engine.model;

import lombok.Data;

import java.util.List;
import java.util.Map;

/**
 * 引擎创建对象
 */
@Data
public class EngineCreator {
    //引擎ID 唯一
    private String engineId;
    //变量组集合 不为空
    private List<VariableGroup> variableGroups = null;
    //公式集合 可为空
    private List<String> formulas = null;

    //目前兼容两种方式，第一种为兼容旧的Map调用方式，第二种为兼容新的List<VariableGroup>调用方式。
    @Deprecated
    private Map<String, List<VariableGroup.Variable>> variableGroupMap = null;
}